package com.project.demo.entity.vo.teacher;

import com.project.demo.base.BeanConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论 VO
 *
 * @author Myles Yang
 */
@ToString(callSuper = true)
@Accessors(chain = true)
@Data
public class EduCommentVO implements Serializable, BeanConvert {

	private static final long serialVersionUID = -3731515228575891846L;

	@ApiModelProperty(value = "评论ID")
	private Integer id;

	@ApiModelProperty(value = "课程id")
	private Integer courseId;

	private String courseName;

	@ApiModelProperty(value = "讲师id")
	private Integer teacherId;

	@ApiModelProperty(value = "会员id")
	private Integer memberId;

	private String memberName;

	private String memberAvatar;

	@ApiModelProperty(value = "评论内容")
	private String content;

	@ApiModelProperty(value = "评分（满分5.00）")
	private Double mark;

	@ApiModelProperty(value = "评论状态 0审核中 1通过")
	private Boolean status;

	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

}
